/******************************************************************************/
/*!
\file   Main.cpp
\author David Seah Seng Chong
\par    email: ssc1987@gmail.com
\date 26/12/2011
\brief
    Header file
    System Header

      Functions included in file:\n

    Copyright (C) 2011 
	Reproduction or disclosure of this file or its contents without the
    prior written consent is prohibited.
*/
/******************************************************************************/
#include "System.hpp"
#include "Window.hpp"

int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
    CSYSTEM->Initialize();

    while (CSYSTEM->IsGameActive())
    {
        CSYSTEM->Update();
    }

    CSYSTEM->Shutdown();

    return 0;
}